package com.xuan.core;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.stereotype.Indexed;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * SpringBoot启动类
 */
@Indexed // 创建扫描索引
@EnableAsync // 开启异步调用
@EnableCaching // 开启缓存注解支持
@SpringBootApplication // 标注此类为启动类
@EnableTransactionManagement // 开启注解式事务驱动
public class XuanApplication {

    public static void main(String[] args) {

        SpringApplication.run(XuanApplication.class, args);
        System.out.println("         ☯        ");
        System.out.println("往复循环 ∞ 生生不息");
        System.out.println("         ☯        ");

    }


}
